﻿#ifndef POSTCOMMAND_CMDPOLARCOORDINATEGRAPHSIDEBARVARIABLEAXISCHANGED_H
#define POSTCOMMAND_CMDPOLARCOORDINATEGRAPHSIDEBARVARIABLEAXISCHANGED_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdPolarCoordinateGraphSidebarVariableAxisChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdPolarCoordinateGraphSidebarVariableAxisChanged();
        ~CmdPolarCoordinateGraphSidebarVariableAxisChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setPolarCoordinateGraphSidebarVariableAxisChanged(int mainWindowId,QList<int> allSelectedItem, int reuslt, QString sVariableAxistCurrentText);

    private:
        int m_mainWindowId;
        QList<int> m_allSelectedItem;
        int m_reuslt;
        QString m_sVariableAxistCurrentText;
    };
} // namespace PostCommand

#endif
